﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Model
{
   public  class config_major
    {
        /* 创建新表 config_major。                                                                       */
        /* config_major : 职位设置                                                                      */
        /* 	mak_id : 主键，自动增长列                                                                       */
        /* 	major_kind_id : 职位分类编号                                                                  */
        /* 	major_kind_name : 职位分类名称                                                                */
        /* 	major_id : 职位编号                                                                         */
        /* 	major_name : 职位名称                                                                       */
        /* 	test_amount : 题套数量                                                                      */
        [Display(Name = "编号")]
        public int mak_id { get; set; }
        [Display(Name = "职位分类编号")]
        [Required(ErrorMessage = "请输入分类编号")]
        public string major_kind_id { get; set; }
        [Display(Name = "职位分类名称")]
        [Required(ErrorMessage = "请输入职位分类名称")]

        public string major_kind_name { get; set; }
        [Display(Name = "职位编号")]
        [Required(ErrorMessage = "请输入职位编号")]

        public string major_id { get; set; }
        [Display(Name = "职位名称")]
        [Required(ErrorMessage = "请输入职位名称")]

        public string major_name { get; set; }
        [Display(Name = "题套数量")]
        [Required(ErrorMessage = "请输入题套数量")]

        public int test_amount { get; set; }
    }
}
